package hmvictor.jpql.types;

import javax.persistence.Parameter;
import javax.persistence.Query;

/**
 *
 * @author Victor
 */
public interface ParameterType<T> {
    
    Editor<T> createEditor();
    
    void setParameter(Query query, Parameter name, T value);
    
    String getName();
    
}
